package com.miracle.moa.oauth.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 *
 * 登录信息
 * @author : miracle
 * @version : 1.0.0
 * @date : 2021/3/22 21:44
 */
@Data
public class LoginDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
